﻿using BonjourQuotation.UI.Models.BaseModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.PreferredVendorModel
{
    public class ManagePreferredVendorsGridViewModel : UserAllPermissionsViewModel
    {
        public List<ManagePreferredVendorsGridRowViewModel> Rows { get; set; }
        public List<SelectListItem> CitySearch { get; set; }
        [DisplayName("City:")]
        public string CitySearchText { get; set; }
        public List<SelectListItem> VendorSearchTypeID { get; set; }
        [DisplayName("Type:")]
        public string SelectedSearchVendorTypeID { get; set; }
        public List<SelectListItem> AreaSearch { get; set; }
        [DisplayName("Area:")]
        public string AreaSearchText { get; set; }
        public List<SelectListItem> RegionSearch { get; set; }
        [DisplayName("Region:")]
        public string RegionSearchText { get; set; }
        public List<SelectListItem> StateSearch { get; set; }
        [DisplayName("State:")]
        public string StateSearchText { get; set; }
        public int PageNum { get; set; }
        public bool IsSearch { get; set; }
        public bool IsCanView { get; set; }
    }
    public class ManagePreferredVendorsGridRowViewModel
    {
        public int VendorID { get; set; }
        public string VendorName { get; set; }
        public string SelectedVendorTypeID { get; set; }
        public string City { get; set; }
        public string State { get; set; }
        public string Area { get; set; }
        public string Region { get; set; }
    }
}